﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using BoxGame.Effects;

namespace BoxGame.Interface
{
    class Slot
    {
        // item inhalt;
        public bool isEmpty;
        Effect meinEffect;

        public Slot()
        {
            this.isEmpty = true;
        }

        public void aktivieren()
        {
        }

        public int gibIconID()
        {
            if (meinEffect != null)
            {
                return meinEffect.gibIconID();
            }
            else
            {
                return -1;
            }
        }

        public void effektBelegen(Effect mEffekt)
        {
            meinEffect = mEffekt;
        }

        public Effect effektGeben()
        {
            return this.meinEffect;
        }

        public string gibEffectName()
        {
            return meinEffect.gibEffectName();
        }

        public void leeren()
        {
            this.meinEffect = null;
        }
    }
}
